package com.ruoyi.domain.basic;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工位信息表对象 mes_workstation
 *
 * @author ruoyi
 * @date 2025-01-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MesWorkstation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 工位ID */
    private Long workstationId;

    /** 工位编码 */
    @Excel(name = "工位编码")
    private String workstationCode;

    /** 工位名称 */
    @Excel(name = "工位名称")
    private String workstationName;

    /** 所属车间ID */
    @Excel(name = "所属车间ID")
    private Long workshopId;

    /** 所属车间名称 */
    @Excel(name = "所属车间名称")
    private String workshopName;

    /** 工位类型（1加工 2装配 3检验） */
    @Excel(name = "工位类型", readConverterExp = "1=加工,2=装配,3=检验")
    private String workstationType;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;
}